/// ht : 2
/// i : "2ceea2aa-b08f-48f3-b969-468e45c41161"
/// l : {"av":"1.0.0","pf":2}
/// mhb : {"i":"2ceea2aa-b08f-48f3-b969-468e45c41161","om":4,"s":0}
/// s : true
/// snt : 0
/// st : 1642415327354
/// t : "48b1009d2b94646b7ac578135f0d2e9c"

class HeartMessageModel {
  HeartMessageModel({
      this.ht, 
      this.i, 
      this.l, 
      this.mhb, 
      this.s, 
      this.snt, 
      this.st, 
      this.t,});

  HeartMessageModel.fromJson(dynamic json) {
    ht = json['ht'];
    i = json['i'];
    l = json['l'] != null ? L.fromJson(json['l']) : null;
    mhb = json['mhb'] != null ? Mhb.fromJson(json['mhb']) : null;
    s = json['s'];
    snt = json['snt'];
    st = json['st'];
    t = json['t'];
  }
  int? ht;
  String? i;
  L? l;
  Mhb? mhb;
  bool? s;
  int? snt;
  int? st;
  String? t;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['ht'] = ht;
    map['i'] = i;
    if (l != null) {
      map['l'] = l?.toJson();
    }
    if (mhb != null) {
      map['mhb'] = mhb?.toJson();
    }
    map['s'] = s;
    map['snt'] = snt;
    map['st'] = st;
    map['t'] = t;
    return map;
  }

}

/// i : "2ceea2aa-b08f-48f3-b969-468e45c41161"
/// om : 4
/// s : 0

class Mhb {
  Mhb({
      this.i, 
      this.om, 
      this.s,});

  Mhb.fromJson(dynamic json) {
    i = json['i'];
    om = json['om'];
    s = json['s'];
  }
  String? i;
  int? om;
  int? s;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['i'] = i;
    map['om'] = om;
    map['s'] = s;
    return map;
  }

}

/// av : "1.0.0"
/// pf : 2

class L {
  L({
      this.av, 
      this.pf,});

  L.fromJson(dynamic json) {
    av = json['av'];
    pf = json['pf'];
  }
  String? av;
  int? pf;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['av'] = av;
    map['pf'] = pf;
    return map;
  }

}